<script setup>
import {useMeta2dStore} from "@/views/topology/utils/meta2dStore";
import {onMounted, ref} from "vue";

const store = useMeta2dStore()
const meta2d = ref({})
const id = ref(1)

onMounted(() => {
    meta2d.value = store.meta2d
})

store.$subscribe((mutation, state) => {
    meta2d.value = state.meta2d
    id.value = meta2d.value.store.id
})
</script>

<template>
    <el-descriptions title="系统信息" :column="1">
        <el-descriptions-item>
            <template #label>
                <a>场景名称</a>
            </template>
            实验室网络环境
        </el-descriptions-item>
        <el-descriptions-item>
            <template #label>
                <a>资产数量</a>
            </template>
            13
        </el-descriptions-item>
    </el-descriptions>
    <el-divider/>
<!--    <el-descriptions title="系统信息" :column="1">-->
<!--        <el-descriptions-item>-->
<!--            <template #label>-->
<!--                <a>场景名称</a>-->
<!--            </template>-->
<!--            kooriookami-->
<!--        </el-descriptions-item>-->
<!--        <el-descriptions-item>-->
<!--            <template #label>-->
<!--                <a>资产数量</a>-->
<!--            </template>-->
<!--            101-->
<!--        </el-descriptions-item>-->
<!--    </el-descriptions>-->
<!--    <el-divider/>-->
</template>

<style scoped>
</style>